package com.hl.vcd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hl.vcd.entity.User;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 朱炫达
 */
public interface UserService extends IService<User> {

    public void addUser(User user);

    public User getUserByMail(String mail);

    public User getUserById(String id);

    public User selectUserByMailAndPassword(String mail, String password);

    public void updateUser(User user);

    public boolean uploadUserAvatarById(MultipartFile avatarFile, String id);
}
